Home > Field "Leaderboard" card (Phase 003 Card 5)
Returns up to 50 reps ranked by current-calendar-month attributed revenue, desc. Each row carries visitors (distinct share.visited sessions), orders (attributed order count), revenue, a 12-point spark, an optional top-asset preview, and a rank-change vs prior month (null = “new” this month). Rows are pre-sorted by revenue; the FE applies search / sort / filter client-side.
When country is set: the ranking, spark, and rank-
change all filter on orders.country_id — both the
current-month AND prior-month scans, so the delta stays
honest under the pick. visitors (distinct share.visited
sessions) and the top-asset preview remain aggregate
because analytics_events.country_code and the rep
rollup tables are unreliably country-tagged today. The
rank itself is country-scoped; the visitor number on
each row still reflects company-wide share activity —
useful for scale but not directly comparable to the
country-scoped revenue.
curl --request GET \
--url https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"reps": [
{
"id": "5f2c8e41-9a7d-4b36-8e10-c4d7a2b9f613",
"name": "Dwight Schrute",
"visitors": 1284,
"orders": 47,
"revenue": "2143.62",
"spark": [
"54.99",
"0.0",
"109.98",
"42.0",
"54.99",
"164.97",
"96.99",
"219.96",
"109.98",
"274.95",
"164.97",
"329.94"
],
"top_asset": {
"title": "Dunder Mifflin 20lb Copy Paper",
"kind": "product",
"thumbnail_url": "https://cdn.fluid.app/dunder-mifflin/products/20lb-copy-paper/main.jpg"
},
"change": 1
},
{
"id": "a8d41f6c-2e93-4c57-b0a8-7f3e1d95c240",
"name": "Jim Halpert",
"visitors": 1106,
"orders": 39,
"revenue": "1968.21",
"spark": [
"109.98",
"54.99",
"164.97",
"96.99",
"54.99",
"0.0",
"219.96",
"164.97",
"109.98",
"54.99",
"219.96",
"164.97"
],
"top_asset": {
"title": "Scranton Branch Welcome Pack",
"kind": "enrollment_pack",
"thumbnail_url": null
},
"change": -1
},
{
"id": "c3b97e20-5f18-4d6a-9c41-e2a80b7d3f95",
"name": "Pam Beesly",
"visitors": 642,
"orders": 18,
"revenue": "874.32",
"spark": [
"0.0",
"0.0",
"54.99",
"0.0",
"42.0",
"18.5",
"54.99",
"96.99",
"0.0",
"109.98",
"54.99",
"164.97"
],
"top_asset": null,
"change": null
}
],
"currency": "USD",
"meta": {
"request_uuid": "1e8a5c3f-7b24-4d90-a6e3-f4c09b2d7815",
"timestamp": "2026-09-10T15:42:07Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}Authorizations
Query Parameters
ISO alpha-2 code of one of the requesting company's configured
countries (see GET /countries). When present, every service
on this endpoint filters its data to that country and reports
money in the country's own currency. Omit (or send "all")
for the aggregate-across-countries view, which is the default
and matches pre-Phase-004 behavior. Unknown ISO codes or ones
the company is not configured for return 400.
"US"
Response
Leaderboard payload
Home > Field "Leaderboard" card (Phase 003 Card 5). Up to 50
reps ranked by current-calendar-month attributed revenue,
desc. Each row carries visitors (distinct sessions across
every visit event type — share.visited, url.visited,
page.visited, product.visited, etc. — that credited the
rep via attribution_member_id; a direct hit on the rep's
mysite counts equally to a click on their share link),
orders (attributed order count), revenue, a 12-point spark,
an optional top-asset preview, and a rank-change vs the
prior calendar month (null when the rep had zero activity
last month — the FE renders that as a "new" badge). Rows
are pre-sorted by revenue; the FE applies search / sort /
move-type filtering client-side.
curl --request GET \
--url https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/analytics/dashboard/field_leaderboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"reps": [
{
"id": "5f2c8e41-9a7d-4b36-8e10-c4d7a2b9f613",
"name": "Dwight Schrute",
"visitors": 1284,
"orders": 47,
"revenue": "2143.62",
"spark": [
"54.99",
"0.0",
"109.98",
"42.0",
"54.99",
"164.97",
"96.99",
"219.96",
"109.98",
"274.95",
"164.97",
"329.94"
],
"top_asset": {
"title": "Dunder Mifflin 20lb Copy Paper",
"kind": "product",
"thumbnail_url": "https://cdn.fluid.app/dunder-mifflin/products/20lb-copy-paper/main.jpg"
},
"change": 1
},
{
"id": "a8d41f6c-2e93-4c57-b0a8-7f3e1d95c240",
"name": "Jim Halpert",
"visitors": 1106,
"orders": 39,
"revenue": "1968.21",
"spark": [
"109.98",
"54.99",
"164.97",
"96.99",
"54.99",
"0.0",
"219.96",
"164.97",
"109.98",
"54.99",
"219.96",
"164.97"
],
"top_asset": {
"title": "Scranton Branch Welcome Pack",
"kind": "enrollment_pack",
"thumbnail_url": null
},
"change": -1
},
{
"id": "c3b97e20-5f18-4d6a-9c41-e2a80b7d3f95",
"name": "Pam Beesly",
"visitors": 642,
"orders": 18,
"revenue": "874.32",
"spark": [
"0.0",
"0.0",
"54.99",
"0.0",
"42.0",
"18.5",
"54.99",
"96.99",
"0.0",
"109.98",
"54.99",
"164.97"
],
"top_asset": null,
"change": null
}
],
"currency": "USD",
"meta": {
"request_uuid": "1e8a5c3f-7b24-4d90-a6e3-f4c09b2d7815",
"timestamp": "2026-09-10T15:42:07Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}